package com.lagou.vo.rpc;

import java.util.Arrays;

public class RpcResponse {
    /**
     * 请求对象的ID
     */

    private String requestId;

    /**
     * 响应数据
     */
    private Object result;

    /**
     * 是否成功
     */
    private Boolean success;

    /**
     * 错误信息
     */
    private Object errorMsg;

    @Override
    public String toString() {
        return "com.exc.vo.rpc.RpcResponse{" +
                "requestId='" + requestId + '\'' +
                ", result=" + result +
                ", success=" + success +
                ", errorMsg=" + errorMsg +
                '}';
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Object getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(Object errorMsg) {
        this.errorMsg = errorMsg;
    }
}
